Masteriyo\Importer\CourseImporter C

Total Complexity 107
Dependencies 7
Dependents 2
Total lines 677
Lines of code 393
Logical lines of code 219
Comment lines 173
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
import_posts()
A
45 12 37
import_terms()
A
47 11 36
fetch_remote_file()
A
47 8 36
import_attachment()
A
49 8 30
set_post_metas()
A
50 8 28
set_post_terms()
A
53 8 21
import_post_content_media()
A
49 7 31
map_term_parents()
S
52 7 25
import()
S
50 5 31
map_post_parents()
S
56 5 19
map_post_attachment_ids()
S
57 5 16
map_term_featured_image_ids()
S
57 5 16
map_post_course_ids()
S
59 5 15
map_post_content_urls()
S
64 3 9
set_term_metas()
S
64 3 9
start_import()
S
58 2 15
set_post_attachments()
S
72 2 6
get_post_featured_meta_keys()
S
71 1 7
schedule_tasks()
S
79 1 3
__construct()
S
81 1 3